Skip to content

Conversation

@wtrocki
Copy link
Member

@wtrocki wtrocki commented Mar 4, 2025

Couple drivebys while I'm reviewing the codebase:

  • Added missing make targets (We might want to move out of make and use NPM directly.
  • Added more structure to the main readme file pointing to the rulesets

@wtrocki wtrocki requested a review from a team as a code owner March 4, 2025 09:49
@echo "==> Running spectral linter"
npx -- @stoplight/spectral-cli@"${SPECTRAL_VERSION}" lint ../../openapi/v2.yaml --ruleset=.spectral.yaml --fail-severity=warn

## IPA sepecific targets
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we should not use make but wanted to add targets for completeness and simplicity of onboarding.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to add the IPA targets here since we have the package.json, this Makefile is for the legacy Spectral we have. I think I'd prefer if we move these to the package.json instead

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my two cents from the outside is that i'd love to see a makefile to quickly catch up since other tools also have makefiles (no strong opinion)

Copy link
Member Author

@wtrocki wtrocki Mar 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if we use Make those in dowstream?

Copy link
Member Author

@wtrocki wtrocki Mar 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now I will remove those changes and we can have follow up PR to cover removal of MAKE (likely needs more than just this PR and discussion

@wtrocki wtrocki force-pushed the task-minor-docs-updates branch from 2f6cfad to 2dc9b51 Compare March 4, 2025 11:17
@wtrocki wtrocki merged commit 4388f99 into main Mar 4, 2025
13 checks passed
@wtrocki wtrocki deleted the task-minor-docs-updates branch March 4, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants